package com.example.newspapersmanageos.Entity;

public class Title {
    private int id;
    private String img;
    private String ocrResult;
    private int newspaperId;

    public Title() {
    }

    public Title(String img, String ocrResult, int newspaperId) {
        this.img = img;
        this.ocrResult = ocrResult;
        this.newspaperId = newspaperId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getocrResult() {
        return ocrResult;
    }

    public void setocrResult(String ocrResult) {
        this.ocrResult = ocrResult;
    }

    public int getNewspaperId() {
        return newspaperId;
    }

    public void setNewspaperId(int newspaperId) {
        this.newspaperId = newspaperId;
    }

    @Override
    public String toString() {
        return "Title{" +
                "id=" + id +
                ", img='" + img + '\'' +
                ", ocrResult='" + ocrResult + '\'' +
                ", newspaperId=" + newspaperId +
                '}';
    }
}
